#pragma once

#include <allegro5/allegro.h>
#include <memory>
#include <string>
#include "Vector.hpp"

class TestArrow
{
private:
	std::string						_filename;
	std::shared_ptr<ALLEGRO_BITMAP>	_image;
	Vector							_position;
	unsigned						_image_width;
	unsigned						_image_height;

	void _LoadImage();

	float _CalcAngleToCursor(const Vector& cursor_pos);

	void _Initialize();

public:
	TestArrow(const Vector& position);
	TestArrow();

	Vector GetPosition() const;

	void DrawFacing(const Vector& cursor_pos);
};